All Questions
2 questions
0votes
1answer
329views
How can I batch rename files by combining three variables and ignore file extensions?
I'm trying to create a script that renames a group of files. Normally they will be TIFs but sometimes an occasional oddball could be thrown in so I would like to rename the file and ignore the file ...
4votes
0answers
1kviews
Replacing *any string* dynamically with POSIX shell [duplicate]
I'm developing a POSIX compliant script in which I want to do a dynamic replace of strings, something like: sed "s/${pattern}/${replace}/g" Problem: if the pattern includes the delimiting character, ...